using System;
using System.Collections.Generic;
using System.Text;

using ILIMS.Core;
using ILIMS.Data.Dao;

namespace ILIMS.Service
{	
	public class OrderService : IOrderService {
		
		private OrderDao orderDao;
		
		public void setOrderDao(OrderDao orderDao) {
			this.orderDao = orderDao;
		}
		
		public List<Order> GetAll() {
			return this.GetAll();
		}
		
		public Order GetOrderById (int id) {
			return this.orderDao.GetId(id);
		}
		
		public Order Save (Order order) {
			return this.orderDao.Save(order);
		}
		
		public void Delete (Order order) {
			this.orderDao.Delete(order);
		}
	}
}
